#ifndef SPHERE_H
#define SPHERE_H

#include "Object.h"

#include <d3d11.h>
#include <dxgi.h>
#include <D3DX10.h>

struct Sphere : public Object
{
	Sphere();
	Sphere(const D3DXVECTOR3& pos, float rad, const Colour& col);

	virtual float FindIntersection(const Ray& ray) override;
	virtual const D3DXVECTOR3& GetNormalAt(const D3DXVECTOR3& coord);

	D3DXVECTOR3 position;
	float radius;
};

#endif //SPHERE_H